@model Vms.Web.Models.SCREEN
<style type="text/css">
    legend > span
    {
       color: Blue;
       font-style: italic; 
    }
    fieldset
    {
        width: 70%;
        margin-left: 200px;
    }
    
</style>
@{
    ViewBag.Title = "Edit";
}


@{Html.EnableClientValidation();}
@{Html.EnableUnobtrusiveJavaScript();}
@using (Html.BeginForm("Edit", "Screens", FormMethod.Post, new { @class = "form-horizontal well" }))
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Edit screen <span>@Html.DisplayFor(model => model.Name)</span></legend>
      @*  @Html.HiddenFor(model => model.Id)*@
        @Html.HiddenFor(model => model.ScreenBrightness_Id)
        @Html.HiddenFor(model => model.ScreenStatus_Id)
        @Html.HiddenFor(model => model.ScreenStatusFile)
        @Html.Partial("_CreateOrEdit", Model)
        <div class="form-actions">
            <input type="submit" class="btn btn-primary" value="Save changes" />
            @Html.ActionLink("Cancel", "Index", null, new { @class="btn btn-warning"})
        </div>
    </fieldset>
}
